package tothreedesignmodel.template;

/**
 * @Author lzhphantom
 * @Description
 * @Date 创建于 18:16 2020/7/16
 * @Modified
 */
public class ConcreteClass extends AbstractClass {
    @Override
    void open() {
        System.out.println("Mysql open...");
    }

    @Override
    void close() {
        System.out.println("Mysql close...");
    }

    public static void main(String[] args) {
        ConcreteClass db = new ConcreteClass();
        db.templateMethod();
    }
}
